﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace DxMvcApplication.Areas.Administrator.Report
{
    public partial class CustomerReport : DevExpress.XtraReports.UI.XtraReport
    {
        public CustomerReport(IList dataSource)
        {
            InitializeComponent();
            DataSource = dataSource;
            txtCustomerCode.DataBindings.Add("Text", DataSource, "Code");
            txtCustomerName.DataBindings.Add("Text", DataSource, "Name");
        }

    }
}
